package ObjStructure;

public class Text
{
	private String ID,Item;														// text id.Items
	public Text(String id,String items)
	{
		ID = id ;
		Item = items ;
	}
	public String getID()
	{
		return ID;
	}
	public String getItem()
	{
		return Item;
	}
	public void printInString(){												// print all member data in a string
		System.out.println(ID + " " + Item);
	}
	public String printText()
	{
		return ID + " " + Item;
	}
}
